package com.ims.core.enums;

/**
 * 校验规则
 * 10 与企业信息不一致，禁止入库
 * 20 与企业信息不一致，允许入库
 * @author IMS
 */
public enum CheckType {
    YU_QI_YE_XIN_XI_BU_YI_ZHI_JIN_ZHI_RU_KU(10, "与企业信息不一致，禁止入库"),
    YU_QI_YE_XIN_XI_BU_YI_ZHI_YUN_XU_RU_KU(20, "与企业信息不一致，允许入库");

    private final int code;
    private final String name;

    CheckType(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}